package com.xuanyuan.material

import android.os.Bundle
import android.view.View
import com.xuanyuan.baselibaray.BaseActivity
import com.xuanyuan.material.databinding.ActivityFloatingActionButtonBinding


class FloatingActionButtonActivity : BaseActivity<ActivityFloatingActionButtonBinding>() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        val btnFloatingActionButton = mBinding.btnFloatingActionButton

        btnFloatingActionButton.setOnClickListener(object : View.OnClickListener {
            override fun onClick(v: View?) {
                SnackBarUtils.showSnack(mBinding.root, "hhhaa")
            }
        })

    }

    override fun initLayout(): Int {
        return R.layout.activity_floating_action_button
    }

}



